There's no [type_func@...[ syntax, it is all [func@...].
}
in a CSS file, loading it with [method@Gtk.CssProvider.load_from_file], and
- adding the provider with [type_func@Gtk.StyleContext.add_provider_for_display].
+ adding the provider with [func@Gtk.StyleContext.add_provider_for_display].
To associate this style information with your widget, set a style class
on the widget using [method@Gtk.Widget.add_css_class]. The advantage
of this approach is that users can then override the font you have chosen.
* [method@Gtk.CssProvider.load_from_file] or
* [method@Gtk.CssProvider.load_from_resource]
* and adding the provider with [method@Gtk.StyleContext.add_provider] or
- * [type_func@Gtk.StyleContext.add_provider_for_display].
+ * [func@Gtk.StyleContext.add_provider_for_display].
* In addition, certain files will be read when GTK is initialized.
* First, the file `$XDG_CONFIG_HOME/gtk-4.0/gtk.css` is loaded if it
* overriding system configuration.
*
* This function cannot be called on the icon theme objects returned
- * from [type_func@Gtk.IconTheme.get_for_display].
+ * from [func@Gtk.IconTheme.get_for_display].
*/
void
gtk_icon_theme_set_theme_name (GtkIconTheme *self,
* signal each time something inside the list changes.
*
* `GtkRecentManager` objects are expensive: be sure to create them
- * only when needed. You should use [type_func@Gtk.RecentManager.get_default]
+ * only when needed. You should use [func@Gtk.RecentManager.get_default]
* instead.
*
* Returns: A newly created `GtkRecentManager` object
* configuration facility.
*
* There is one `GtkSettings` instance per display. It can be obtained with
- * [type_func@GtkSettings.get_for_display], but in many cases, it is more
+ * [func@Gtk.Settings.get_for_display], but in many cases, it is more
* convenient to use [method@Gtk.Widget.get_settings].
*/
* Gets the `GtkSettings` object for the default display, creating
* it if necessary.
*
- * See [type_func@Gtk.Settings.get_for_display].
+ * See [func@Gtk.Settings.get_for_display].
*
* Returns: (nullable) (transfer none): a `GtkSettings` object. If there is
* no default display, then returns %NULL.
* queries information from all attached `GtkStyleProviders`. Style
* providers can be either attached explicitly to the context through
* [method@Gtk.StyleContext.add_provider], or to the display through
- * [type_func@Gtk.StyleContext.add_provider_for_display]. The resulting
+ * [func@Gtk.StyleContext.add_provider_for_display]. The resulting
* style is a combination of all providers’ information in priority order.
*
* For GTK widgets, any `GtkStyleContext` returned by
* Note that a style provider added by this function only affects
* the style of the widget to which @context belongs. If you want
* to affect the style of all widgets, use
- * [type_func@Gtk.StyleContext.add_provider_for_display].
+ * [func@Gtk.StyleContext.add_provider_for_display].
*
* Note: If both priorities are the same, a `GtkStyleProvider`
* added through this function takes precedence over another added
- * through [type_func@Gtk.StyleContext.add_provider_for_display].
+ * through [func@Gtk.StyleContext.add_provider_for_display].
*/
void
gtk_style_context_add_provider (GtkStyleContext *context,
* `GtkStyleContext`.
*
* See [method@Gtk.StyleContext.add_provider] and
- * [type_func@Gtk.StyleContext.add_provider_for_display] for
+ * [func@Gtk.StyleContext.add_provider_for_display] for
* adding `GtkStyleProviders`.
*
* GTK uses the `GtkStyleProvider` implementation for CSS in